package com.pg_chat.model;

import java.util.HashMap;
import java.util.Map;

public class FriendsEntity {
    private Integer fID;
    private Integer friID;
    private Integer userID;
    private Integer friGroup;
    private Integer friState;
    private String friName;
    private String friType;
    private String friFrom;

    public FriendsEntity() {
    }

    public Integer getFID() {
        return fID;
    }

    public void setFID(Integer fID) {
        this.fID = fID;
    }

    public Integer getFriID() {
        return friID;
    }

    public void setFriID(Integer friID) {
        this.friID = friID;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public Integer getFriGroup() {
        return friGroup;
    }

    public void setFriGroup(Integer friGroup) {
        this.friGroup = friGroup;
    }

    public Integer getFriState() {
        return friState;
    }

    public void setFriState(Integer friState) {
        this.friState = friState;
    }

    public String getFriName() {
        return friName;
    }

    public void setFriName(String friName) {
        this.friName = friName;
    }

    public String getFriType() {
        return friType;
    }

    public void setFriType(String friType) {
        this.friType = friType;
    }

    public String getFriFrom() {
        return friFrom;
    }

    public void setFriFrom(String friFrom) {
        this.friFrom = friFrom;
    }

    @Override
    public String toString() {
        return "FriendsEntity{" +
                "fID=" + fID +
                ", friID=" + friID +
                ", userID=" + userID +
                ", friGroup=" + friGroup +
                ", friState=" + friState +
                ", friName='" + friName + '\'' +
                ", friType='" + friType + '\'' +
                ", friFrom='" + friFrom + '\'' +
                '}';
    }

    public Map<String,Object> friMap(){
        HashMap<String,Object> map = new HashMap<>();
        map.put("fID",this.fID);
        map.put("friID=",this.friID);
        map.put("userID=",this.userID);
        map.put("friGroup",this.friGroup);
        map.put("friState",this.friState);
        map.put("friName=",this.friName);
        map.put("friType=",this.friType);
        map.put("friFrom=",this.friFrom);
        return map;
    }
}
